package com.cn.laoluobase.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;



@Component
@ConfigurationProperties(prefix="my-path")
public class MyPath {

    private String oss;
    private String file;
    public void setFile(String file) {
        this.file = file;
    }

    public void setOss(String oss) {
        this.oss = oss;
    }

    public String getFile() {
        return file;
    }

    public String getOss() {
        return oss;
    }
}
